let express = require('express')
let router = express.Router()
let op =require('./API/op')
let user = require('./API/user')
let aside = require('./API/aside')
router.get('/user/login',user.login)
router.get('/op/getAll', op.getAll)
router.get('/op/getById', op.getById)
router.post('/op/del', op.del)
router.post('/op/add', op.add)
router.post('/op/update', op.update)
router.get('/aside/get', aside.getAside)
router.get('/aside/add', aside.addAside)
module.exports = router
